package org.jeecgframework.web.service;
import java.io.Serializable;

import javax.servlet.http.HttpServletRequest;

import org.jeecgframework.core.common.service.CommonService;
import org.jeecgframework.web.system.pojo.base.CbsFaultCodeEntity;

public interface CbsFaultCodeServiceI extends CommonService{
	
 	public <T> void delete(T entity);
 	
 	public <T> Serializable save(T entity);
 	
 	public <T> void saveOrUpdate(T entity);
 	
 	/**
	 * 默认按钮-sql增强-新增操作
	 * @param id
	 * @return
	 */
 	public boolean doAddSql(CbsFaultCodeEntity t);
 	/**
	 * 默认按钮-sql增强-更新操作
	 * @param id
	 * @return
	 */
 	public boolean doUpdateSql(CbsFaultCodeEntity t);
 	/**
	 * 默认按钮-sql增强-删除操作
	 * @param id
	 * @return
	 */
 	public boolean doDelSql(CbsFaultCodeEntity t);

 	/**
 	 * @author xiul
 	 * 2017-4-10 下午2:37:30
 	 * Description 微信- 查询故障代码具体信息
 	 * @param request
 	 */
	public CbsFaultCodeEntity wxGzdmcxList(HttpServletRequest request);
}
